.branch{
    .branch-content{
        &-top,&-filter{
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 10px;
            .input-icon{
                font-size: var(--tiklab-input-icon-15);
            }
        }
        &-tables{
            .branch-tables-item{
                display: flex;
                flex-direction: row;
                align-items: center;
                padding: 8px;
                gap: 10px;
                .branch-tables-icon{
                    border: 1px solid #d9d9d9;
                    padding: 8px;
                    display: inline-block;
                    height: 32px;
                    margin-right: 10px;
                }
                .branch-tables-commit{
                    width: 200px;
                    text-align: center;
                    position: relative;
                    .commit-num-left{
                        margin-right: 5px;
                        padding-right: 5px;
                        border-right: 1px solid #d9d9d9;
                    }
                }
                .branch-tables-name{
                    flex: 1;
                    .name-text-name{
                        font-weight: var(--tiklab-font-weight-bold);
                        margin-right: 8px;
                        cursor: pointer;
                        display: inline-block;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        vertical-align: top;
                        white-space: nowrap;
                        max-width: 270px;
                        &:hover{
                            text-decoration: underline;
                        }
                    }
                    .name-text-default{
                        margin-right: 8px;
                    }
                    .name-text-type{
                        display: inline-block;
                        background: #02a7f0;
                        color: #ffffff;
                        font-size: 12px;
                        line-height: 20px;
                        padding: 0 7px;
                        border: 1px solid #e5e5e5;
                        border-radius: 100px;
                        font-weight: 400;
                    }
                    .name-text-desc{
                        color: var(--tiklab-gray-500);
                        font-size: var(--tiklab-font-13);
                        .desc-name{
                            margin-right: 8px;
                        }
                    }
                }
                .branch-tables-action{
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    .branch-tables-combine,.branch-tables-compare,.branch-tables-download{
                        background: #f4f4f4;
                        cursor: pointer;
                        margin-right: 8px;
                        border-radius: 4px;
                        width: 100px;
                        text-align: center;
                    }
                    .branch-tables-combine,.branch-tables-compare{
                        padding: 6px;
                    }
                    .open-merge{
                        .open-merge-icon{
                            color: #55a532;
                            font-size: 18px;
                        }

                        display: flex;
                        gap: 10px;
                        justify-content: center;
                        align-items: center;
                    }

                    .close-merge{
                        .close-merge-icon{
                            color: #ff4d4f;
                            font-size: 18px;
                        }
                        display: flex;
                        gap: 10px;
                        justify-content: center;
                        align-items: center;
                    }

                    .branch-tables-download{
                        padding: 8px 6px;
                    }
                    .branch-tables-del,.no-del{
                        height: 32px;
                        padding: 8px 6px;
                        border-radius: 4px;
                    }
                    .branch-tables-del{
                        background: #ff0000;
                        color: #ffffff;
                        cursor: pointer;
                    }
                    .no-del{
                        color: rgba(0,0,0,.25);
                        background: #f5f5f5;
                        cursor: not-allowed;
                    }
                }
            }

        }
    }

    .branch-nav{
        display: flex;
        cursor: pointer;
        padding: 3px 0 3px 16px;
        &:hover{
            background: #f5f5f5;
        }
    }
}
